import { Axios } from '../axios/axios'
import qs from 'qs'
class caseMethod extends Axios {
  // 查询案例
  getCase(data) {
    return this.request({
      method: "GET",
      url: 'shuoyue/frontCmfCase?caseType=' + data
    })
  }
  // 查询单个案例
  getDetail(data) {
    return this.request({
      method: "GET",
      url: 'shuoyue/frontCmfCase/findOne?' + qs.stringify(data, { indices: false }),
    })
  }
}

export {
  caseMethod
}
